 <div class="row">
                <div class="col-lg-12">
                    <h3 class="page-header">活动评论审核管理</h3>
                </div>
                <!-- /.col-lg-12 -->
            </div>
            <!-- /.row -->
            <div class="row">
                <div class="col-lg-12">
                    <div class="panel panel-default">
                        <div class="panel-heading">
                            <!-- <button type="button" class="btn btn-success btn-xs" onclick="editurl('__APP__/Level/add');">添加新的专家等级</button> -->
                        </div>
                        <!-- /.panel-heading -->
                        <div class="panel-body">
                            <div class="dataTable_wrapper">
                                <table class="table table-striped table-bordered table-hover">
                                    <thead>
                                        <tr>
                                            <th style="width:30%"><center>查看回复</center></th>
                                            <th><center>回复时间</center></th>
                                            <th><center>回复状态</center></th>
                                            <th><center>审核状态</center></th>
                                            <th><center>操作</center></th>
                                        </tr>
                                    </thead>
                                    <tbody>
                                        <volist name="BL" id="vo">
                                        <tr class="odd gradeX">
                                            <td>
                                                <center>
                                                    {$vo.content}
                                                </center>
                                            </td>
                                            <td class="center" style="vertical-align: middle;"><center>{$vo['addtime']|date="Y-m-d",###}</center></td>
                                            <td id="s{$vo.id}" class="center" style="vertical-align: middle;">
                                              <center>
                                                <if condition="$vo.pubtype eq 1">
                                                  <span class="label label-success">正常</span>
                                                  <else />
                                                  <span class="label label-danger">屏蔽</span>
                                                </if>
                                              </center>
                                            </td>
                                            <td id="t{$vo.id}" class="center" style="vertical-align: middle;">
                                              <center>
                                                <if condition="$vo.ispass eq 1">
                                                  <span class="label label-success">已审核</span>
                                                  <else />
                                                  <span class="label label-danger">未审核</span>
                                                </if>
                                              </center>
                                            </td>
                                            <td class="center" style="vertical-align: middle;">
                                                <center>
                                                    <button type="button" class="btn btn-success btn-xs" onclick="check({$vo.id})">
                                                        <i class="glyphicon glyphicon-ok"></i>
                                                    </button>
                                                    <button type="button" class="btn btn-danger btn-xs" onclick="ban({$vo.id})">
                                                        <i class="glyphicon glyphicon-remove"></i>
                                                    </button>
                                                </center>
                                            </td>
                                        </tr>
                                        </volist>
                                    </tbody>
                                </table>
                            </div>
                            <!-- /.table-responsive -->
                        </div>
                        <!-- /.panel-body -->
                    </div>
                    <!-- /.panel -->
                </div>
                <!-- /.col-lg-12 -->
            </div>
            <!-- /.row -->
            {$page}
        </div>

                <script type="text/javascript">
                    function check(e){
                      $.post('__URL__/check',{id:e},function(s){
                        if(s.status==1){
                          $("#s"+e).find('center').html('<span class="label label-success">正常</span>');
                          $("#t"+e).find('center').html('<span class="label label-success">已审核</span>');
                        }else{
                          alert('审核错误');
                        }
                      });
                    }

                    function ban(e){
                      $.post('__URL__/ban',{id:e},function(s){
                       if(s.status==1){
                          $("#s"+e).find('center').html('<span class="label label-danger">屏蔽</span>');
                          $("#t"+e).find('center').html('<span class="label label-success">已审核</span>');
                        }else{
                          alert('审核错误');
                        } 
                      });
                    }
              </script>

</body>

</html>
